﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02001253 RID: 4691
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class StrongChallengeActivityData : IMessage<StrongChallengeActivityData>, IMessage, IEquatable<StrongChallengeActivityData>, IDeepCloneable<StrongChallengeActivityData>, IBufferMessage
	{
		// Token: 0x17003B81 RID: 15233
		// (get) Token: 0x0600D26D RID: 53869 RVA: 0x00237183 File Offset: 0x00235383
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<StrongChallengeActivityData> Parser
		{
			get
			{
				return StrongChallengeActivityData._parser;
			}
		}

		// Token: 0x17003B82 RID: 15234
		// (get) Token: 0x0600D26E RID: 53870 RVA: 0x0023718A File Offset: 0x0023538A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return StrongChallengeActivityDataReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003B83 RID: 15235
		// (get) Token: 0x0600D26F RID: 53871 RVA: 0x0023719C File Offset: 0x0023539C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return StrongChallengeActivityData.Descriptor;
			}
		}

		// Token: 0x0600D270 RID: 53872 RVA: 0x002371A3 File Offset: 0x002353A3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public StrongChallengeActivityData()
		{
		}

		// Token: 0x0600D271 RID: 53873 RVA: 0x002371AC File Offset: 0x002353AC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public StrongChallengeActivityData(StrongChallengeActivityData other) : this()
		{
			this.bFBDMAMFAEA_ = ((other.bFBDMAMFAEA_ != null) ? other.bFBDMAMFAEA_.Clone() : null);
			this.stageId_ = other.stageId_;
			this.panelId_ = other.panelId_;
			this.fHOIMJBLCNM_ = other.fHOIMJBLCNM_;
			this.maxScore_ = other.maxScore_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600D272 RID: 53874 RVA: 0x0023721C File Offset: 0x0023541C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public StrongChallengeActivityData Clone()
		{
			return new StrongChallengeActivityData(this);
		}

		// Token: 0x17003B84 RID: 15236
		// (get) Token: 0x0600D273 RID: 53875 RVA: 0x00237224 File Offset: 0x00235424
		// (set) Token: 0x0600D274 RID: 53876 RVA: 0x0023722C File Offset: 0x0023542C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public StrongChallengeAvatarData BFBDMAMFAEA
		{
			get
			{
				return this.bFBDMAMFAEA_;
			}
			set
			{
				this.bFBDMAMFAEA_ = value;
			}
		}

		// Token: 0x17003B85 RID: 15237
		// (get) Token: 0x0600D275 RID: 53877 RVA: 0x00237235 File Offset: 0x00235435
		// (set) Token: 0x0600D276 RID: 53878 RVA: 0x0023723D File Offset: 0x0023543D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint StageId
		{
			get
			{
				return this.stageId_;
			}
			set
			{
				this.stageId_ = value;
			}
		}

		// Token: 0x17003B86 RID: 15238
		// (get) Token: 0x0600D277 RID: 53879 RVA: 0x00237246 File Offset: 0x00235446
		// (set) Token: 0x0600D278 RID: 53880 RVA: 0x0023724E File Offset: 0x0023544E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint PanelId
		{
			get
			{
				return this.panelId_;
			}
			set
			{
				this.panelId_ = value;
			}
		}

		// Token: 0x17003B87 RID: 15239
		// (get) Token: 0x0600D279 RID: 53881 RVA: 0x00237257 File Offset: 0x00235457
		// (set) Token: 0x0600D27A RID: 53882 RVA: 0x0023725F File Offset: 0x0023545F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint FHOIMJBLCNM
		{
			get
			{
				return this.fHOIMJBLCNM_;
			}
			set
			{
				this.fHOIMJBLCNM_ = value;
			}
		}

		// Token: 0x17003B88 RID: 15240
		// (get) Token: 0x0600D27B RID: 53883 RVA: 0x00237268 File Offset: 0x00235468
		// (set) Token: 0x0600D27C RID: 53884 RVA: 0x00237270 File Offset: 0x00235470
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint MaxScore
		{
			get
			{
				return this.maxScore_;
			}
			set
			{
				this.maxScore_ = value;
			}
		}

		// Token: 0x0600D27D RID: 53885 RVA: 0x00237279 File Offset: 0x00235479
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as StrongChallengeActivityData);
		}

		// Token: 0x0600D27E RID: 53886 RVA: 0x00237288 File Offset: 0x00235488
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(StrongChallengeActivityData other)
		{
			return other != null && (other == this || (object.Equals(this.BFBDMAMFAEA, other.BFBDMAMFAEA) && this.StageId == other.StageId && this.PanelId == other.PanelId && this.FHOIMJBLCNM == other.FHOIMJBLCNM && this.MaxScore == other.MaxScore && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600D27F RID: 53887 RVA: 0x00237308 File Offset: 0x00235508
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.bFBDMAMFAEA_ != null)
			{
				num ^= this.BFBDMAMFAEA.GetHashCode();
			}
			if (this.StageId != 0U)
			{
				num ^= this.StageId.GetHashCode();
			}
			if (this.PanelId != 0U)
			{
				num ^= this.PanelId.GetHashCode();
			}
			if (this.FHOIMJBLCNM != 0U)
			{
				num ^= this.FHOIMJBLCNM.GetHashCode();
			}
			if (this.MaxScore != 0U)
			{
				num ^= this.MaxScore.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600D280 RID: 53888 RVA: 0x002373A8 File Offset: 0x002355A8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600D281 RID: 53889 RVA: 0x002373B0 File Offset: 0x002355B0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600D282 RID: 53890 RVA: 0x002373BC File Offset: 0x002355BC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.StageId != 0U)
			{
				output.WriteRawTag(8);
				output.WriteUInt32(this.StageId);
			}
			if (this.PanelId != 0U)
			{
				output.WriteRawTag(16);
				output.WriteUInt32(this.PanelId);
			}
			if (this.MaxScore != 0U)
			{
				output.WriteRawTag(32);
				output.WriteUInt32(this.MaxScore);
			}
			if (this.bFBDMAMFAEA_ != null)
			{
				output.WriteRawTag(82);
				output.WriteMessage(this.BFBDMAMFAEA);
			}
			if (this.FHOIMJBLCNM != 0U)
			{
				output.WriteRawTag(88);
				output.WriteUInt32(this.FHOIMJBLCNM);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600D283 RID: 53891 RVA: 0x00237468 File Offset: 0x00235668
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.bFBDMAMFAEA_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.BFBDMAMFAEA);
			}
			if (this.StageId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.StageId);
			}
			if (this.PanelId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.PanelId);
			}
			if (this.FHOIMJBLCNM != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.FHOIMJBLCNM);
			}
			if (this.MaxScore != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.MaxScore);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600D284 RID: 53892 RVA: 0x00237508 File Offset: 0x00235708
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(StrongChallengeActivityData other)
		{
			if (other == null)
			{
				return;
			}
			if (other.bFBDMAMFAEA_ != null)
			{
				if (this.bFBDMAMFAEA_ == null)
				{
					this.BFBDMAMFAEA = new StrongChallengeAvatarData();
				}
				this.BFBDMAMFAEA.MergeFrom(other.BFBDMAMFAEA);
			}
			if (other.StageId != 0U)
			{
				this.StageId = other.StageId;
			}
			if (other.PanelId != 0U)
			{
				this.PanelId = other.PanelId;
			}
			if (other.FHOIMJBLCNM != 0U)
			{
				this.FHOIMJBLCNM = other.FHOIMJBLCNM;
			}
			if (other.MaxScore != 0U)
			{
				this.MaxScore = other.MaxScore;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600D285 RID: 53893 RVA: 0x002375AC File Offset: 0x002357AC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600D286 RID: 53894 RVA: 0x002375B8 File Offset: 0x002357B8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 16U)
				{
					if (num == 8U)
					{
						this.StageId = input.ReadUInt32();
						continue;
					}
					if (num == 16U)
					{
						this.PanelId = input.ReadUInt32();
						continue;
					}
				}
				else
				{
					if (num == 32U)
					{
						this.MaxScore = input.ReadUInt32();
						continue;
					}
					if (num == 82U)
					{
						if (this.bFBDMAMFAEA_ == null)
						{
							this.BFBDMAMFAEA = new StrongChallengeAvatarData();
						}
						input.ReadMessage(this.BFBDMAMFAEA);
						continue;
					}
					if (num == 88U)
					{
						this.FHOIMJBLCNM = input.ReadUInt32();
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x0400545D RID: 21597
		private static readonly MessageParser<StrongChallengeActivityData> _parser = new MessageParser<StrongChallengeActivityData>(() => new StrongChallengeActivityData());

		// Token: 0x0400545E RID: 21598
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400545F RID: 21599
		public const int BFBDMAMFAEAFieldNumber = 10;

		// Token: 0x04005460 RID: 21600
		private StrongChallengeAvatarData bFBDMAMFAEA_;

		// Token: 0x04005461 RID: 21601
		public const int StageIdFieldNumber = 1;

		// Token: 0x04005462 RID: 21602
		private uint stageId_;

		// Token: 0x04005463 RID: 21603
		public const int PanelIdFieldNumber = 2;

		// Token: 0x04005464 RID: 21604
		private uint panelId_;

		// Token: 0x04005465 RID: 21605
		public const int FHOIMJBLCNMFieldNumber = 11;

		// Token: 0x04005466 RID: 21606
		private uint fHOIMJBLCNM_;

		// Token: 0x04005467 RID: 21607
		public const int MaxScoreFieldNumber = 4;

		// Token: 0x04005468 RID: 21608
		private uint maxScore_;
	}
}
